spring:
  main:
    allow-circular-references: true
    allow-bean-definition-overriding: true
  profiles:
    active: dev
  application:
    name: <#if application??>${application!}<#else>service-abc</#if>
  cloud:
    nacos:
      enabled: <#if supportNacos?? && supportNacos>true<#else>false</#if>
      discovery:
        # 服务注册地址
        server-addr: 127.0.0.1:8848
      config:
        enabled: <#if supportNacos?? && supportNacos>true<#else>false</#if>
        # 自动刷新Bean配置
        register-enabled: <#if supportNacos?? && supportNacos>true<#else>false</#if>
        # 配置中心地址
        server-addr: 127.0.0.1:8848
        # 配置文件格式
        file-extension: yml
        # 共享配置
        shared-configs:
          - ${yamlNacosConfigSharedConfigs}

# feign 配置
feign:
  circuitbreaker:
    enabled: true
  sentinel:
    enabled: false
  okhttp:
    enabled: true
  httpclient:
    enabled: true
  client:
    config:
      default:
        connectTimeout: 10000
        readTimeout: 10000
  compression:
    request:
      enabled: true
    response:
      enabled: true
